import request from '@/utils/request'

// 车辆类型表列表
export function apiCarTypeLists(params: any) {
    return request.get({ url: '/setting.car_type/lists', params })
}

// 添加车辆类型表
export function apiCarTypeAdd(params: any) {
    return request.post({ url: '/setting.car_type/add', params })
}

// 编辑车辆类型表
export function apiCarTypeEdit(params: any) {
    return request.post({ url: '/setting.car_type/edit', params })
}

// 删除车辆类型表
export function apiCarTypeDelete(params: any) {
    return request.post({ url: '/setting.car_type/delete', params })
}

// 车辆类型表详情
export function apiCarTypeDetail(params: any) {
    return request.get({ url: '/setting.car_type/detail', params })
}

export function carTypeAll(params: any) {
    return request.get({ url: '/setting.car_type/all', params })
}
